package com.example.agriapp.model.bean;

import java.io.Serializable;

public class Article implements Serializable {
    private String id;
    private String title;
    private String imageUrl;
    private String content;
    private String publishTime;

    public Article(String id, String title, String imageUrl, String content, String publishTime) {
        this.id = id;
        this.title = title;
        this.imageUrl = imageUrl;
        this.content = content;
        this.publishTime = publishTime;
    }

    // Getter 方法
    public String getId() { return id; }
    public String getTitle() { return title; }
    public String getImageUrl() { return imageUrl; }
    public String getContent() { return content; }
    public String getPublishTime() { return publishTime; }
}